
<!-- link引入 -->
{include file="common::link"}
{include file="common::pagestyle"}
<body>
<div class="x-body">

    <span class="x-right" style="line-height:40px">共有数据：{$count} 条</span>

  <table class="layui-table">
    <thead>
    <tr>
      <th style="text-align: center;">申请人</th>
      <th style="text-align: center;">摘要</th>
      <th style="text-align: center;">查看用户详细信息</th>
    </thead>
      <tbody>
          {foreach $res as $v}
              <tr>
                  <td style="text-align: center;">{$v.name}</td>
                  <td style="text-align: center;">{$v.content}</td>
                  <td class="td-manage" style="text-align: center;">
                      <button class="layui-btn layui-btn-xs" onclick="find({$v.id})"><i class="layui-icon">&#xe705;</i></button>
                  </td>
              </tr>
          {/foreach}
      </tbody>
  </table>
    <div class="page" style="margin:10px">{$res|raw}</div>

</div>

<!-- js引入 -->
{include file="common::script"}

<script>
  layui.use(['layer'], function () {
    layer = layui.layer;
    $ = layui.jquery;
  });

  /*申请人信息*/
  function find(id) {
      layer.open({
          maxmin: true,
          title: '详细信息',
          shade: [0.8, '#393D49'],
          area: ['800px', '800px'],
          type: 2,
          content: 'find?id=' + id,
      });
  }



</script>
</body>
